﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Model;
using TakeoutMangesDAL;

namespace TakeoutMangesBLL
{
    public class UserInfoBLL
    {
        public static Model.UserInfo GetUserinfo(string name, string pwd)
        {
            return UserInfoDAL.GetUserinfo(name, pwd);
        }

        public static int UserRegister(Model.UserInfo US)
        {
            return UserInfoDAL.UserRegister(US);
        }
        public static List<UserInfo> UserInfo()
        {
            return UserInfoDAL.UserInfo();
        }
    }
}
